Optimal. Leaf size=144 \[ \frac{21 b^2}{a^8 (a+b x)}+\frac{15 b^2}{2 a^7 (a+b x)^2}+\frac{10 b^2}{3 a^6 (a+b x)^3}+\frac{3 b^2}{2 a^5 (a+b x)^4}+\frac{3 b^2}{5 a^4 (a+b x)^5}+\frac{b^2}{6 a^3 (a+b x)^6}+\frac{28 b^2 \log (x)}{a^9}-\frac{28 b^2 \log (a+b x)}{a^9}+\frac{7 b}{a^8 x}-\frac{1}{2 a^7 x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0892933, antiderivative size = 144, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091, Rules used = {44} \[ \frac{21 b^2}{a^8 (a+b x)}+\frac{15 b^2}{2 a^7 (a+b x)^2}+\frac{10 b^2}{3 a^6 (a+b x)^3}+\frac{3 b^2}{2 a^5 (a+b x)^4}+\frac{3 b^2}{5 a^4 (a+b x)^5}+\frac{b^2}{6 a^3 (a+b x)^6}+\frac{28 b^2 \log (x)}{a^9}-\frac{28 b^2 \log (a+b x)}{a^9}+\frac{7 b}{a^8 x}-\frac{1}{2 a^7 x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rubi steps
\begin{align*} \int \frac{1}{x^3 (a+b x)^7} \, dx &=\int \left (\frac{1}{a^7 x^3}-\frac{7 b}{a^8 x^2}+\frac{28 b^2}{a^9 x}-\frac{b^3}{a^3 (a+b x)^7}-\frac{3 b^3}{a^4 (a+b x)^6}-\frac{6 b^3}{a^5 (a+b x)^5}-\frac{10 b^3}{a^6 (a+b x)^4}-\frac{15 b^3}{a^7 (a+b x)^3}-\frac{21 b^3}{a^8 (a+b x)^2}-\frac{28 b^3}{a^9 (a+b x)}\right ) \, dx\\ &=-\frac{1}{2 a^7 x^2}+\frac{7 b}{a^8 x}+\frac{b^2}{6 a^3 (a+b x)^6}+\frac{3 b^2}{5 a^4 (a+b x)^5}+\frac{3 b^2}{2 a^5 (a+b x)^4}+\frac{10 b^2}{3 a^6 (a+b x)^3}+\frac{15 b^2}{2 a^7 (a+b x)^2}+\frac{21 b^2}{a^8 (a+b x)}+\frac{28 b^2 \log (x)}{a^9}-\frac{28 b^2 \log (a+b x)}{a^9}\\ \end{align*}
Mathematica [A] time = 0.11095, size = 112, normalized size = 0.78 \[ \frac{\frac{a \left (2058 a^5 b^2 x^2+7308 a^4 b^3 x^3+11970 a^3 b^4 x^4+10360 a^2 b^5 x^5+120 a^6 b x-15 a^7+4620 a b^6 x^6+840 b^7 x^7\right )}{x^2 (a+b x)^6}-840 b^2 \log (a+b x)+840 b^2 \log (x)}{30 a^9} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.016, size = 133, normalized size = 0.9 \begin{align*} -{\frac{1}{2\,{a}^{7}{x}^{2}}}+7\,{\frac{b}{{a}^{8}x}}+{\frac{{b}^{2}}{6\,{a}^{3} \left ( bx+a \right ) ^{6}}}+{\frac{3\,{b}^{2}}{5\,{a}^{4} \left ( bx+a \right ) ^{5}}}+{\frac{3\,{b}^{2}}{2\,{a}^{5} \left ( bx+a \right ) ^{4}}}+{\frac{10\,{b}^{2}}{3\,{a}^{6} \left ( bx+a \right ) ^{3}}}+{\frac{15\,{b}^{2}}{2\,{a}^{7} \left ( bx+a \right ) ^{2}}}+21\,{\frac{{b}^{2}}{{a}^{8} \left ( bx+a \right ) }}+28\,{\frac{{b}^{2}\ln \left ( x \right ) }{{a}^{9}}}-28\,{\frac{{b}^{2}\ln \left ( bx+a \right ) }{{a}^{9}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.1152, size = 235, normalized size = 1.63 \begin{align*} \frac{840 \, b^{7} x^{7} + 4620 \, a b^{6} x^{6} + 10360 \, a^{2} b^{5} x^{5} + 11970 \, a^{3} b^{4} x^{4} + 7308 \, a^{4} b^{3} x^{3} + 2058 \, a^{5} b^{2} x^{2} + 120 \, a^{6} b x - 15 \, a^{7}}{30 \,{\left (a^{8} b^{6} x^{8} + 6 \, a^{9} b^{5} x^{7} + 15 \, a^{10} b^{4} x^{6} + 20 \, a^{11} b^{3} x^{5} + 15 \, a^{12} b^{2} x^{4} + 6 \, a^{13} b x^{3} + a^{14} x^{2}\right )}} - \frac{28 \, b^{2} \log \left (b x + a\right )}{a^{9}} + \frac{28 \, b^{2} \log \left (x\right )}{a^{9}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.52653, size = 668, normalized size = 4.64 \begin{align*} \frac{840 \, a b^{7} x^{7} + 4620 \, a^{2} b^{6} x^{6} + 10360 \, a^{3} b^{5} x^{5} + 11970 \, a^{4} b^{4} x^{4} + 7308 \, a^{5} b^{3} x^{3} + 2058 \, a^{6} b^{2} x^{2} + 120 \, a^{7} b x - 15 \, a^{8} - 840 \,{\left (b^{8} x^{8} + 6 \, a b^{7} x^{7} + 15 \, a^{2} b^{6} x^{6} + 20 \, a^{3} b^{5} x^{5} + 15 \, a^{4} b^{4} x^{4} + 6 \, a^{5} b^{3} x^{3} + a^{6} b^{2} x^{2}\right )} \log \left (b x + a\right ) + 840 \,{\left (b^{8} x^{8} + 6 \, a b^{7} x^{7} + 15 \, a^{2} b^{6} x^{6} + 20 \, a^{3} b^{5} x^{5} + 15 \, a^{4} b^{4} x^{4} + 6 \, a^{5} b^{3} x^{3} + a^{6} b^{2} x^{2}\right )} \log \left (x\right )}{30 \,{\left (a^{9} b^{6} x^{8} + 6 \, a^{10} b^{5} x^{7} + 15 \, a^{11} b^{4} x^{6} + 20 \, a^{12} b^{3} x^{5} + 15 \, a^{13} b^{2} x^{4} + 6 \, a^{14} b x^{3} + a^{15} x^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.69975, size = 175, normalized size = 1.22 \begin{align*} \frac{- 15 a^{7} + 120 a^{6} b x + 2058 a^{5} b^{2} x^{2} + 7308 a^{4} b^{3} x^{3} + 11970 a^{3} b^{4} x^{4} + 10360 a^{2} b^{5} x^{5} + 4620 a b^{6} x^{6} + 840 b^{7} x^{7}}{30 a^{14} x^{2} + 180 a^{13} b x^{3} + 450 a^{12} b^{2} x^{4} + 600 a^{11} b^{3} x^{5} + 450 a^{10} b^{4} x^{6} + 180 a^{9} b^{5} x^{7} + 30 a^{8} b^{6} x^{8}} + \frac{28 b^{2} \left (\log{\left (x \right )} - \log{\left (\frac{a}{b} + x \right )}\right )}{a^{9}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.19445, size = 161, normalized size = 1.12 \begin{align*} -\frac{28 \, b^{2} \log \left ({\left | b x + a \right |}\right )}{a^{9}} + \frac{28 \, b^{2} \log \left ({\left | x \right |}\right )}{a^{9}} + \frac{840 \, a b^{7} x^{7} + 4620 \, a^{2} b^{6} x^{6} + 10360 \, a^{3} b^{5} x^{5} + 11970 \, a^{4} b^{4} x^{4} + 7308 \, a^{5} b^{3} x^{3} + 2058 \, a^{6} b^{2} x^{2} + 120 \, a^{7} b x - 15 \, a^{8}}{30 \,{\left (b x + a\right )}^{6} a^{9} x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]